package com.itheima.Jiuye01;

public class TestElectrical {
    public static void main(String[] args) {
        freezer f = new freezer();
        f.setBrand("海尔");
        f.setSize("海尔100");
        f.setColor("红色");
        f.setPrice(3000);
        f.xingWei();
        washer w = new washer();
        w.setBrand("美的");
        w.setSize("美的109");
        w.setColor("绿色");
        w.setPrice(3500);
        w.xingWei();
        Tv t = new Tv();
        t.setBrand("LOC");
        t.setSize("LOC10");
        t.setColor("白色");
        t.setPrice(4500);
        t.xingWei();
    }
}
